<template>
  <div>
    <!--ec-svg-icon icon-class="wechat"/-->
    <ec-frame
      navbar-api="/midg/app-market/v2.1/app/list"
      navbar-lable="app_name"
      :params="params"
      sidebar-api="/midg/user/v2.1/menu/list"
      :clazz="classObj"
      :showmenu="showmenu"
      title="业务中台"
    />
  </div>
</template>

<script>
import { mapState } from 'vuex';
import ecenter, { EcFrame, EcSvgIcon } from 'ecenter-ui';

export default {
  name: 'Studio',
  components: {
    EcFrame,
    EcSvgIcon
  },
  computed: {
    ...mapState({
      sidebar: state => state.app.sidebar,
      device: state => state.app.device,
      showSettings: state => state.settings.showSettings,
      needTagsView: state => state.settings.tagsView,
      fixedHeader: state => state.settings.fixedHeader,
      showmenu: state => true
    }),
    classObj() {
      return {
        hideSidebar: !this.sidebar.opened,
        openSidebar: this.sidebar.opened,
        withoutAnimation: this.sidebar.withoutAnimation,
        mobile: this.device === 'mobile'
      };
    }
  },
  watch: {},
  data() {
    return {

      params: {
        isShow: 1
      },
      logo: '',
      pass: ['project_id']
    };
  },
  created() {
  },
  mounted() {
  },
  methods: {}
};
</script>

